import Router from 'koa-router'

import dlyadminAiOrders from '../controller/dlyadmin/dlyadminAiOrders'

const router = new Router()

router.prefix('/dlyadminapi/dlyadminAiOrders')

router
	/**
	 * @swagger
	 * /dlyadminapi/dlyadminAiOrders/orders:
	 *   get:
	 *     description: 获取ai价格表
	 *     tags: [dlyadminAigoods]
	 *     summary:  "获取ai价格表"
	 *     parameters:
	 *           - in: query
	 *             name: status
	 *             type: string
	 *             required: false
	 *             default: ''
	 *             description: 状态 ‘’ 全部 ‘1’ 启用 ‘0’ 禁用
	 *     produces:
	 *       - application/json
	 *     responses:
	 *       200:
	 *         description: 返回结果
	 * */
	.get('/orders', dlyadminAiOrders.orders)

export default router
